/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.xiongda.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.common.persistence.Page;
import com.jeeplus.common.service.CrudService;
import com.jeeplus.modules.xiongda.entity.XPhoto;
import com.jeeplus.modules.xiongda.dao.XPhotoDao;

/**
 * 照片Service
 * @author 缪琼
 * @version 2017-11-29
 */
@Service
@Transactional(readOnly = true)
public class XPhotoService extends CrudService<XPhotoDao, XPhoto> {

	public XPhoto get(String id) {
		return super.get(id);
	}
	
	public List<XPhoto> findList(XPhoto xPhoto) {
		return super.findList(xPhoto);
	}
	
	public Page<XPhoto> findPage(Page<XPhoto> page, XPhoto xPhoto) {
		return super.findPage(page, xPhoto);
	}
	
	@Transactional(readOnly = false)
	public void save(XPhoto xPhoto) {
		super.save(xPhoto);
	}
	
	@Transactional(readOnly = false)
	public void delete(XPhoto xPhoto) {
		super.delete(xPhoto);
	}
	
	
	
	
}